package com.tomdd;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.core.env.ConfigurableEnvironment;

/**
 * @author zx
 * @date 2025年04月25日 11:22
 */
@SpringBootApplication
@Slf4j
public class MessageRouteApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(MessageRouteApplication.class, args);
        ConfigurableEnvironment environment = context.getEnvironment();
        log.info("{}  application start success !!!!",environment.getProperty("spring.application.name"));
    }
}
